import React, { Component } from 'react'
import { Input  } from 'antd'

export default class index extends Component {
      
    constructor(){
        super()
        this.state={
           inpval:'1111'
        }
    }


    changeIpt =  (e) =>{
        this.setState({
            inpval:e.target.value
        })
    }

    render() {
        return (
            <div>
                <Input type="text" ref={this.ipt} value={this.state.inpval} onChange={this.changeIpt}/>
            </div>
        )
    }
}
